package Behavior;

import Impl.ShootBehavior;
import Impl.Target;

public class CannotShoot extends ShootBehavior {
    @Override
    public void shoot(Target target) {
        // 不做出射击处理，可以抛异常或简单打印信息
        System.out.println("Cannot shoot anything!");
    }
    @Override
    public void shoot() {
        System.out.println("Cannot shoot!");
    }
}
